package com.forum.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.forum.entity.SubjectCoursesTabEntity;
import com.forum.entity.view.SubjectCoursesTabView;
import com.forum.utils.PageUtils;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface SubjectCoursesTabService extends IService<SubjectCoursesTabEntity> {
    PageUtils queryPage(Map<String, Object> params);

    /*List<XuekekechengVO> selectListVO(Wrapper<SubjectCoursesTabEntity> wrapper);

    XuekekechengVO selectVO(@Param("ew") Wrapper<SubjectCoursesTabEntity> wrapper);*/

    List<SubjectCoursesTabView> selectListView(Wrapper<SubjectCoursesTabEntity> wrapper);

    SubjectCoursesTabView selectView(@Param("ew") Wrapper<SubjectCoursesTabEntity> wrapper);

    PageUtils queryPage(Map<String, Object> params,Wrapper<SubjectCoursesTabEntity> wrapper);


    List<Map<String, Object>> selectValue(Map<String, Object> params,Wrapper<SubjectCoursesTabEntity> wrapper);

    List<Map<String, Object>> selectTimeStatValue(Map<String, Object> params,Wrapper<SubjectCoursesTabEntity> wrapper);

    List<Map<String, Object>> selectGroup(Map<String, Object> params,Wrapper<SubjectCoursesTabEntity> wrapper);

}
